package com.heima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.article.dto.ArticleHomeDto;
import com.heima.article.pojo.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleMapper extends BaseMapper<Article> {
    List<Article> loadArticleList(@Param("dto") ArticleHomeDto dto, @Param("loadType") Short loadType);
}
